home *** CD-ROM | disk | FTP | other *** search
- Attribute VB_Name = "SHOOTOUT1"
- Option Explicit
- '----------------------------------------------------------
- ' SHOOTOUT.BAS
- '----------------------------------------------------------
-
- ' Data type required by the IntersectRect function
- Type tRect
- Left As Long
- Top As Long
- Right As Long
- Bottom As Long
- End Type
-
- ' Windows API rectangle functions
- Declare Function IntersectRect Lib "user32" (lpDestRect As tRect, lpSrc1Rect As tRect, lpSrc2Rect As tRect) As Long
-
- ' Functions and constants used to play sounds.
- Declare Function sndPlaySound Lib "winmm.dll" Alias "sndPlaySoundA" (ByVal lpszSoundName As String, ByVal uFlags As Long) As Long
-
- ' Constant used with sndPlaySound function
- Global Const SND_ASYNC = &H1
-
-